const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  accountId: state => state.user.accountId,
  tenantId: state => state.user.tenantId,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  user_info: state => state.user.userInfo,
  roleId: state => state.user.roleId,
  allrouter: state => state.navs.routers,
  nav_routers: state => state.navs.addRouters,
  nav_menus: state => state.navs.navmenus,
  visitedViews: state => state.app.visitedViews,
  cachedViews: state => state.app.cachedViews
}
export default getters
